package com.example.service;

import com.example.pojo.afterSalesFaultPartsPojo;

import java.util.List;
import java.util.Map;

/**
 * ClassName:afterSalesFaultPartsService
 * Package:com.example.service
 * Description:
 *
 * @Author：牧星苑
 * @Create 2025/10/8 16:09
 * @Version 1.0
 */
public interface afterSalesFaultPartsService {
    //根据分页查询返件清单
    List<afterSalesFaultPartsPojo> queryByPage(Map<String, Object> map);

    //查询所有返件清单条数
    Integer queryQuantity();

    //插入一行返件清单
    void insertOne(afterSalesFaultPartsPojo pojo);

    //修改一行返件清单
    void editOneById(afterSalesFaultPartsPojo pojo);

    //动态查询返件清单
    List<afterSalesFaultPartsPojo> queryByDynamicConditions(Map<String, Object> map);

    //查询所有返件清单
    List<afterSalesFaultPartsPojo> queryAll();

    //修改返件清单一个字段.依据索赔单关联id
    void editOneField(Map<String, Object> map);
    //修改返件清单一个字段.依据索赔单CBU关联id
    void editOneFieldCBU(Map<String, Object> map);
    //修改返件清单一个字段.依据索赔单KD关联id
    void editOneFieldKD(Map<String, Object> map);
}
